databaseChangeLog = {

	changeSet(author: "mariano (generated)", id: "1384818731962-1") {
		createTable(tableName: "balance_fees") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "balance_feesPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "amount", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "creationdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "due", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "fee_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "paid", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "paymentdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "receipt_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "student_id", type: "bigint") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-2") {
		createTable(tableName: "course") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "coursePK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "division", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "shift", type: "integer") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-3") {
		createTable(tableName: "course_subject") {
			column(name: "course_subjects_id", type: "bigint")

			column(name: "subject_id", type: "bigint")

			column(name: "subjects_idx", type: "integer")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-4") {
		createTable(tableName: "date_discount") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "date_discountPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "endday", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "fee_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "iniday", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-5") {
		createTable(tableName: "discount") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "discountPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "fee_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-6") {
		createTable(tableName: "fee") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "feePK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "dueday", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "period", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-7") {
		createTable(tableName: "fee_detail") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "fee_detailPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "parent_fee_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "fee_details_idx", type: "integer")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-8") {
		createTable(tableName: "fee_inter") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "fee_interPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "fee_id", type: "bigint")

			column(name: "percent", type: "double precision") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-9") {
		createTable(tableName: "guardian") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "guardianPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "email", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "housephone", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "lastname", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "mobile", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "officephone", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "prefer", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-10") {
		createTable(tableName: "item_detail") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "item_detailPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "isdiscount", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "paymentdate", type: "datetime")

			column(name: "period", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "value_fee", type: "double precision") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-11") {
		createTable(tableName: "item_detail_child") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "item_detail_cPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "parent_item_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "value", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "details_idx", type: "integer")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-12") {
		createTable(tableName: "payment_check") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "payment_checkPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "account", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "amount", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "bank", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "checkdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "mode", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "number", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "owner", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "paydate", type: "datetime") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-13") {
		createTable(tableName: "receipt") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "receiptPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "creationdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "due", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "istemp", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "status", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "student_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "total", type: "double precision") {
				constraints(nullable: "false")
			}

			column(name: "uuid", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-14") {
		createTable(tableName: "receipt_item_detail") {
			column(name: "receipt_details_id", type: "bigint")

			column(name: "item_detail_id", type: "bigint")

			column(name: "details_idx", type: "integer")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-15") {
		createTable(tableName: "receipt_payment_check") {
			column(name: "receipt_checks_id", type: "bigint")

			column(name: "payment_check_id", type: "bigint")

			column(name: "checks_idx", type: "integer")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-16") {
		createTable(tableName: "sec_role") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "sec_rolePK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "authority", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-17") {
		createTable(tableName: "sec_user") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "sec_userPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "account_expired", type: "bit") {
				constraints(nullable: "false")
			}

			column(name: "account_locked", type: "bit") {
				constraints(nullable: "false")
			}

			column(name: "enabled", type: "bit") {
				constraints(nullable: "false")
			}

			column(name: "password", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "password_expired", type: "bit") {
				constraints(nullable: "false")
			}

			column(name: "username", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-18") {
		createTable(tableName: "sec_user_sec_role") {
			column(name: "sec_role_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "sec_user_id", type: "bigint") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-19") {
		createTable(tableName: "service") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "servicePK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-20") {
		createTable(tableName: "service_discount") {
			column(name: "service_discounts_id", type: "bigint")

			column(name: "discount_id", type: "bigint")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-21") {
		createTable(tableName: "service_fee") {
			column(name: "service_fees_id", type: "bigint")

			column(name: "fee_id", type: "bigint")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-22") {
		createTable(tableName: "student") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "studentPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "active", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "address", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "admdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "birthdate", type: "datetime") {
				constraints(nullable: "false")
			}

			column(name: "birthplace", type: "varchar(255)")

			column(name: "city", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "course_id", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "docnumber", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "doctype", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "email", type: "varchar(255)")

			column(name: "lastname", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "nationality", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "service_id", type: "bigint")

			column(name: "status", type: "varchar(1)") {
				constraints(nullable: "false")
			}

			column(name: "zipcode", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-23") {
		createTable(tableName: "student_guardian") {
			column(name: "student_guardians_id", type: "bigint")

			column(name: "guardian_id", type: "bigint")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-24") {
		createTable(tableName: "student_student") {
			column(name: "student_relatives_id", type: "bigint")

			column(name: "student_id", type: "bigint")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-25") {
		createTable(tableName: "subject") {
			column(autoIncrement: "true", name: "id", type: "bigint") {
				constraints(nullable: "false", primaryKey: "true", primaryKeyName: "subjectPK")
			}

			column(name: "version", type: "bigint") {
				constraints(nullable: "false")
			}

			column(name: "class_created", type: "datetime")

			column(name: "class_updated", type: "datetime")

			column(name: "deleted", type: "integer") {
				constraints(nullable: "false")
			}

			column(name: "description", type: "varchar(255)") {
				constraints(nullable: "false")
			}

			column(name: "name", type: "varchar(255)") {
				constraints(nullable: "false")
			}
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-26") {
		addPrimaryKey(columnNames: "sec_role_id, sec_user_id", constraintName: "sec_user_sec_PK", tableName: "sec_user_sec_role")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-51") {
		createIndex(indexName: "FK632119301067F99A", tableName: "balance_fees") {
			column(name: "student_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-52") {
		createIndex(indexName: "FK632119308F2251BA", tableName: "balance_fees") {
			column(name: "fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-53") {
		createIndex(indexName: "FK63211930AA09C7A", tableName: "balance_fees") {
			column(name: "receipt_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-54") {
		createIndex(indexName: "FKEED491082C6C47FA", tableName: "course_subject") {
			column(name: "subject_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-55") {
		createIndex(indexName: "FK3C67AB28F2251BA", tableName: "date_discount") {
			column(name: "fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-56") {
		createIndex(indexName: "FK104875418F2251BA", tableName: "discount") {
			column(name: "fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-57") {
		createIndex(indexName: "FK21F3A72AEA7612EF", tableName: "fee_detail") {
			column(name: "parent_fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-58") {
		createIndex(indexName: "FK960816E38F2251BA", tableName: "fee_inter") {
			column(name: "fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-59") {
		createIndex(indexName: "FKA074F55A7E99F6B6", tableName: "item_detail_child") {
			column(name: "parent_item_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-60") {
		createIndex(indexName: "FK408272381067F99A", tableName: "receipt") {
			column(name: "student_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-61") {
		createIndex(indexName: "FKBCCBCB7648C5FD21", tableName: "receipt_item_detail") {
			column(name: "item_detail_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-62") {
		createIndex(indexName: "FKCC745FC88646AEAD", tableName: "receipt_payment_check") {
			column(name: "payment_check_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-63") {
		createIndex(indexName: "authority_uniq_1384818731835", tableName: "sec_role", unique: "true") {
			column(name: "authority")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-64") {
		createIndex(indexName: "username_uniq_1384818731843", tableName: "sec_user", unique: "true") {
			column(name: "username")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-65") {
		createIndex(indexName: "FK6630E2A514BF19D", tableName: "sec_user_sec_role") {
			column(name: "sec_user_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-66") {
		createIndex(indexName: "FK6630E2AAC212DBD", tableName: "sec_user_sec_role") {
			column(name: "sec_role_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-67") {
		createIndex(indexName: "FK80359B8B220352E7", tableName: "service_discount") {
			column(name: "service_discounts_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-68") {
		createIndex(indexName: "FK80359B8BF0BAA05A", tableName: "service_discount") {
			column(name: "discount_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-69") {
		createIndex(indexName: "FK8D141EFC8F2251BA", tableName: "service_fee") {
			column(name: "fee_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-70") {
		createIndex(indexName: "FK8D141EFCCC20B5D8", tableName: "service_fee") {
			column(name: "service_fees_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-71") {
		createIndex(indexName: "FK8FFE823B67990A1A", tableName: "student") {
			column(name: "course_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-72") {
		createIndex(indexName: "FK8FFE823BCD68EF5A", tableName: "student") {
			column(name: "service_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-73") {
		createIndex(indexName: "service_id_uniq_1384818731853", tableName: "student", unique: "true") {
			column(name: "service_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-74") {
		createIndex(indexName: "FKD053BB155A87E5A", tableName: "student_guardian") {
			column(name: "guardian_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-75") {
		createIndex(indexName: "FKD053BB1594D58F7", tableName: "student_guardian") {
			column(name: "student_guardians_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-76") {
		createIndex(indexName: "FKBAB040371067F99A", tableName: "student_student") {
			column(name: "student_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-77") {
		createIndex(indexName: "FKBAB0403757AA84B2", tableName: "student_student") {
			column(name: "student_relatives_id")
		}
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-27") {
		addForeignKeyConstraint(baseColumnNames: "fee_id", baseTableName: "balance_fees", constraintName: "FK632119308F2251BA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-28") {
		addForeignKeyConstraint(baseColumnNames: "receipt_id", baseTableName: "balance_fees", constraintName: "FK63211930AA09C7A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "receipt", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-29") {
		addForeignKeyConstraint(baseColumnNames: "student_id", baseTableName: "balance_fees", constraintName: "FK632119301067F99A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "student", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-30") {
		addForeignKeyConstraint(baseColumnNames: "subject_id", baseTableName: "course_subject", constraintName: "FKEED491082C6C47FA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "subject", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-31") {
		addForeignKeyConstraint(baseColumnNames: "fee_id", baseTableName: "date_discount", constraintName: "FK3C67AB28F2251BA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-32") {
		addForeignKeyConstraint(baseColumnNames: "fee_id", baseTableName: "discount", constraintName: "FK104875418F2251BA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-33") {
		addForeignKeyConstraint(baseColumnNames: "parent_fee_id", baseTableName: "fee_detail", constraintName: "FK21F3A72AEA7612EF", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-34") {
		addForeignKeyConstraint(baseColumnNames: "fee_id", baseTableName: "fee_inter", constraintName: "FK960816E38F2251BA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-35") {
		addForeignKeyConstraint(baseColumnNames: "parent_item_id", baseTableName: "item_detail_child", constraintName: "FKA074F55A7E99F6B6", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "item_detail", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-36") {
		addForeignKeyConstraint(baseColumnNames: "student_id", baseTableName: "receipt", constraintName: "FK408272381067F99A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "student", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-37") {
		addForeignKeyConstraint(baseColumnNames: "item_detail_id", baseTableName: "receipt_item_detail", constraintName: "FKBCCBCB7648C5FD21", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "item_detail", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-38") {
		addForeignKeyConstraint(baseColumnNames: "payment_check_id", baseTableName: "receipt_payment_check", constraintName: "FKCC745FC88646AEAD", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "payment_check", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-39") {
		addForeignKeyConstraint(baseColumnNames: "sec_role_id", baseTableName: "sec_user_sec_role", constraintName: "FK6630E2AAC212DBD", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "sec_role", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-40") {
		addForeignKeyConstraint(baseColumnNames: "sec_user_id", baseTableName: "sec_user_sec_role", constraintName: "FK6630E2A514BF19D", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "sec_user", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-41") {
		addForeignKeyConstraint(baseColumnNames: "discount_id", baseTableName: "service_discount", constraintName: "FK80359B8BF0BAA05A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "discount", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-42") {
		addForeignKeyConstraint(baseColumnNames: "service_discounts_id", baseTableName: "service_discount", constraintName: "FK80359B8B220352E7", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "service", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-43") {
		addForeignKeyConstraint(baseColumnNames: "fee_id", baseTableName: "service_fee", constraintName: "FK8D141EFC8F2251BA", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "fee", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-44") {
		addForeignKeyConstraint(baseColumnNames: "service_fees_id", baseTableName: "service_fee", constraintName: "FK8D141EFCCC20B5D8", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "service", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-45") {
		addForeignKeyConstraint(baseColumnNames: "course_id", baseTableName: "student", constraintName: "FK8FFE823B67990A1A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "course", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-46") {
		addForeignKeyConstraint(baseColumnNames: "service_id", baseTableName: "student", constraintName: "FK8FFE823BCD68EF5A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "service", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-47") {
		addForeignKeyConstraint(baseColumnNames: "guardian_id", baseTableName: "student_guardian", constraintName: "FKD053BB155A87E5A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "guardian", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-48") {
		addForeignKeyConstraint(baseColumnNames: "student_guardians_id", baseTableName: "student_guardian", constraintName: "FKD053BB1594D58F7", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "student", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-49") {
		addForeignKeyConstraint(baseColumnNames: "student_id", baseTableName: "student_student", constraintName: "FKBAB040371067F99A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "student", referencesUniqueColumn: "false")
	}

	changeSet(author: "mariano (generated)", id: "1384818731962-50") {
		addForeignKeyConstraint(baseColumnNames: "student_relatives_id", baseTableName: "student_student", constraintName: "FKBAB0403757AA84B2", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "student", referencesUniqueColumn: "false")
	}
}
